﻿using IMES.Common.Domain.SirModel;
using IMES.Common.Dtos;
using MediatR;

namespace GlennQuigmire.API.Application.Commands
{
    public class InboundOrderCreateCommand : IRequest<Result>
    {
        /// <summary>
        /// 入库单号
        /// </summary>
        public string? InboundOrderNumber { get; set; }
        /// <summary>
        /// 入库类型
        /// </summary>
        public int InboundOrderTypeId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 入库时间
        /// </summary>
        public DateTime InboundOrderDate { get; set; }

        public List<InboudOrderCreateDto> InboundOrderItems { get; set; }

        public int CreateId { get; set; }
        public string CreateName { get; set; }

    }

    public class InboudOrderCreateDto
    {
        public int ProductId { get; set; }
        public int InboundOrderNum { get; set; }
    }


}
